package com.xjm_cloud_admin.mapper;

import com.xjm_cloud_admin.domain.XjmFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 文件表(XjmFile)表数据库访问层
 *
 * @author 浪漫写尽歌谱
 * @since 2024-04-24 13:16:57
 */
@Mapper
public interface XjmFileMapper extends BaseMapper<XjmFile> {

    XjmFile selectFileName(@Param("name") String folderName,@Param("parentId") Long parentId,@Param("userId") Long userId);

    void updateStatus(@Param("file") XjmFile xjmFile);
}


